package cn.gson.crmdemo.controller.table;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONArray;
import cn.gson.crmdemo.model.service.XiaoShouBaoBiaoService;
@Controller
public class XiaoShouBaoBiaoController {
	@Autowired
	XiaoShouBaoBiaoService ts;
	
	
	@RequestMapping("log-json1")
	@ResponseBody
	public JSONArray logjson() {
		return ts.selectAlltt();
	}
}
